<?php
require_once realpath(dirname(__FILE__) . '//..//pages.php');
require_once INC_FUNCTIONS;
require_once INC_MESSAGES;

if (!authorize()) {
    notify(MSG_NOT_AUTHORIZED);
}
?>
<html>
    <?php echo head(PAGE_TITLE, array(HTTP_CSS_MENU, HTTP_CSS_STYLE, HTTP_CSS_CALENDAR), HTTP_SCRIPT_CALENDAR); ?>
    <body>
        <?php
        require_once VW_MENU;
        ?>
        <h1>Cerca intervento</h1>
        <form action="<?php echo HTTP_CTRL_MAIN; ?>" method="get">
            <label>Data inizio<input id="start" name="start" onclick="fPopCalendar('start')" type="text" class="input"></label>
            <label>Data fine<input id="end" name="end" onclick="fPopCalendar('end')" type="text" class="input"></label>
            <button>Invia</button>
            <input type="hidden" name="account" value="find" />
        </form>
    </body>
</html>
